import {defineStore} from "pinia";

export const useStore = defineStore('msgBoxStore', {
    state: () => {
        return {
            msgRecord: [],
            parties: '',
            myLogo: '',
            logo: '',
            sendContent: '',
        }
    },
    getters:{
        name (){
            return JSON.parse(sessionStorage.getItem("userObj")).username
        }
    }
})